Add New Extension In The Records Of A Colum

Feb 12, 2008

I am new here and dont know much about access but I have to do some things.

I have a table filled in access. This table (dlb_tbl) contains serveral colums. One colum named "type". The records of this colum has to be changed like this:

one record: 0RD00S101
this has to be changed into: EDH01-RD00S101

So there has to come a new extension EDH01- and the 0 has to be deleted. This has to be done to the whole colum. How can I make a query to do this?:o

View Replies


ADVERTISEMENT

New Colum

Jan 9, 2007

I have a large table t1 contain record like that

Id purchase advance date
------
2345 $22333 $3455 12/25/2006
-----


I want to create a new column to label week information
if dec 11 2006 =<date <=dec 15, 2006 week=week4
if dec 18 2006 =<date <=dec 22, 2006 week=week3
if dec 25 2006 =<date <=dec 29, 2006 week=week2
if Jan,1 2007 =<date <=Jan 5, 2007 week=week1
if Jan, 8 2007=<date <=today, 2007 week=week0

How can i do that using sql?
Thanks in advance

View 5 Replies View Related

Queries :: How To Split Colum Value (with Comma) To Multiple Columns

Mar 8, 2015

how to split this , I am new Access DB, I worked in Sql Server but access new to me

I have the below data

Appid Names
100 John,Bob,Kondya, Lima
200 Shor,James,Kim
300 Cinem

I want to convert to

Appid Names Name1 Name2 Name3 Name4
100 John Bob Kondya Lima NULL
200 Shor James Kim NULL NULL
300 Cinem NULL NULL NULL Null

View 2 Replies View Related

Developer Extension Add-in

Jan 31, 2008

Hello,

I accidentally removed my developer extension add-in from the access 2007 add-ins.

How can I get it back?
I dont know where the dll or exe resides.

View 8 Replies View Related

Field Extension

Jun 5, 2007

Is there anyway to extend a field set as text to more than 255 characters?

Thanks in advance

View 2 Replies View Related

Text Extension

Aug 14, 2006

Hi,

I have a text box and sometime the word in that text box is too long. So, is it possible to make the whole word appeared when the mouse is on the text box? I don't want to extented my text box.

Thanks,

Le

View 7 Replies View Related

File Extension And Hyperlinks

Mar 11, 2007

Hi Everyone

I have just solved one problem concerning creating hyperlinks based on values in other fields: See Previous Thread (http://www.access-programmers.co.uk/forums/showthread.php?t=124590)

but now I have another, the hyperlink I have created links to a document, while for the majority of time it is a word document it is not always, occasionally .xls or .pdf

So I need a way of building into the hyperlink code the file extension, my thoughts are it would involve check boxes and if statements (one check box for each) but I am unsure of how to do this, can anyone help?


My code is currently:

Private Sub H_Enter()
Form!H = "hyperlink#C:Documents and Settingscew1My DocumentsWORKSpecs" & Form!S & Form!PC & ".doc#"
End Sub

View 2 Replies View Related

MS Developer Extension And Runtime

Jan 10, 2008

Several post in the recent past asked the question of how to package the db for distribution and how to run the Access db in computer not installed with Access. Before Access 2007, you must purchase another program for about one thousand dollar to do this. Microsoft now offer these two programs "Developer Extensions" and "Runtime" for free. The Developer Extension is a program that will package your db into an installation disk. You can package the Runtime program in the install disk for users that use computers without Access 2007. Here are the links to the MS website for the download.

http://www.microsoft.com/downloads/...&displaylang=en

http://www.microsoft.com/downloads/...&displaylang=en

View 2 Replies View Related

General :: Ade File Extension

Oct 13, 2013

I have an old program with ade file extension and I would like to add some filters in one of the forms but I don't have design view or layout view option.

View 5 Replies View Related

Adding Extension To Tables

Dec 1, 2013

I have around a hundred tables all with exactly the same format and headings that i would like to combine into one long table, but the copy-paste append data to table function doesn't do what i had hoped. How can I join my tables together? And is there an easy way to do all 100 at once?

View 3 Replies View Related

Extension For Access 2007 Database.

Aug 21, 2006

Greeting All,
I am trying the beta version of Access 2007 and realize that when converting Access 97 to Access 2007, the new db in Access 2007 has an extension of .accdb. I rename the db file name to xxxxx.mdb and the VB app fails to recognize it.

Is there any way to convert the xxxx.accdb (Access 2007 beta) to xxxx.mdb so that I can try my app against the Access 2007 db?????

Thank you for your time,

ConKi

View 1 Replies View Related

Importing Filenames Based Upon Extension

Apr 10, 2008

How would one go about scanning a hard drive for all mp3 files (i.e. *.mp3) and importing all of the titles into a database? I'm sure the dir function comes into play, but it seems to only handle "current" directory and not sub directories.

I was just curious is all..... haven't really dabbled that much in the file/directory functions.

View 5 Replies View Related

Modules & VBA :: Zip Code Not Importing With Extension

Jun 27, 2014

I have a pretty basic TransferSpreadsheet module that works well except that if the Zip code has the four digit extension, it's not importing.

Option Compare Database

Dim myCheck
Function MeridianLinkFileImport()
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tbl_MeridianLinkFileImport", "R:DEPT-BRCONSUMER LENDINGMarketing Campaigns2014 Auto Loan PrescreenReport from LoansPQ.xls", True, "Sheet1!A3:AO50000"
End Function

If there is no extention, it is importing fine... 85086 works fine but 85018-4710 doesn't import.

The field is a Short Text data type.

View 3 Replies View Related

Queries :: Expression To Remove TIF Extension

Mar 14, 2013

How to create an expression that removes the ".tif" extension of a file path.The data looks like this in it raw form:

J:201303080056273_ELECTRICALRETAILER_00100562 73_ELECTRICALRETAILER_001_3.tif

In my query grid in the filed row I have the following:

ImageRef: Mid([strImagePath],111,38)

which produces the following:

00056273_ELECTRICALRETAILER_001_3.tif
00056273_ELECTRICALRETAILER_001_31.tif

and so on...

What I need to do is remove the ".tif" part of the data. because of the way the path is output with regards to the tif image number, I'm having difficulty in targeting only that data that comes before the ".tif" extension.Is there a method I can use that will remove the right 4 characters and in conjunction with my expression above produce the following:

00056273_ELECTRICALRETAILER_001_3
00056273_ELECTRICALRETAILER_001_31

I've managed to work out how to get the data without the file extension ".tif" with the following expression:

ImageRef1: Left([strImagePath],Len([strImagePath])-4)

which gives me the following:

domgennt.dggroup.comglobalResourceApplication sUNIeFlowIMAGES201303080056273_ELECTRICALRET AILER_0010056273_ELECTRICALRETAILER_001_3

and

domgennt.dggroup.comglobalResourceApplication sUNIeFlowIMAGES201303080056273_ELECTRICALRET AILER_0010056273_ELECTRICALRETAILER_001_31

How can I combine the following expression with the above expression to get what I need:

Combine - Mid([strImagePath],111,38) with Left([strImagePath],Len([strImagePath])-4)

to get this result:

00056273_ELECTRICALRETAILER_001_3
00056273_ELECTRICALRETAILER_001_31

View 8 Replies View Related

Newbie Question - File Extension For The Form?

Dec 11, 2006

Hello. I have a mdb access file. When I open it, I can see lots of tables. How on earth do I open a form? Do I need another file, if so, what extension should I look for on my computer?? I really dont want to create a new form, since a person who did it has told me that its all have been already done. I just need to open the form and enter the data in. Thanks for any help!!!:)

View 1 Replies View Related

General :: Access Production File Extension?

Jun 10, 2013

I want to release an Access program to the production environment for users. I remember there being a file extention that can be used so the users cannot access the DB or Code.

View 2 Replies View Related

How To Move Data From One Colum By Data Position To Other Fields

Dec 19, 2006

Hello Tech gurus,

I have a database with existing data, that is not normalized, and all the data is in one field...:eek: This what I am dealing with:

As you notice the first row of data in field1 C10A CHOLEST&TRIGLY has 3 spaces to the right the next row ALTORVASTIN has five spaces to the right, the next line LIPITOR has 7 spaces to the right, and so forth, hopefully you get at what I am trying to do, I just looked at the data and it is not showing up in view of the leading spaces, but I am trying to move the data based ONLY one the position of leading spaces, example all data that has 3 leading spaces would go into its own separate column, and all data that has 7 leading spaces would go into a separate column, I have tried to use the left, mid, len functions but I cannot figure out how to move the text and keep it whole only by data position of spaces.

Field1:
C10A CHOLEST&TRIGLY
ATORVASTATIN
LIPITOR
PFIZER
SIMVASTATIN
SIMVASTATIN TEVA
TEVA
M1A ANTIRHEUMATIC N-STEROID
ETODOLAC
ETOPAN
TARO PHARMA
Thanks so much for your help... :confused:

Nana :D

View 12 Replies View Related

Form Laout - Matrix (row Heading, Colum Heading)

Oct 23, 2006

Hi all, this is my first post.


i have created a simple access database for keeping student and attendance record.

student table fileds are:

studentId - primary key
forname
surename
dob
gender
accademic year

attendance table fields:

studentid - primary key
date - primary key
attendance (yes/no boolean field)
paid (yes/no boolean filed)

this database is just ment to keep records of students attending at particualr dates.

for example if attendance table cotain records like:

http://www.crazyanime.pwp.blueyonder.co.uk/table.JPG

for the form layout, what i want to do is

http://www.crazyanime.pwp.blueyonder.co.uk/form.JPG

i want this to be editable. how would i do this using access form, or do i have to wrtite VBA code

PLUS i want the form to automatially have new records when i add for example a student, with ID 10011 OR if i add new records for a different date say 11/11/2006, then i want that to be viewd on the form just like the 21/09/2006 and the 04/11/2006.

please help :) been looking for a solution for long time.

thanks

View 4 Replies View Related

Reports :: Masking For Phone Number Plus Extension In Expression?

Jan 12, 2014

I have the following expression as part of the recordsource for a report:

Is it possible to put a mask on the output of [phone1]? Ideally something like: (716) 555-5555 x1234

Code : phone1: [ContactNo1] & " " & [ContactNo1_ext]

View 10 Replies View Related

Combo Box Multiple Colums As One Colum In Combo

Mar 28, 2006

Hello

I have had a look through the forum and I am not sure if this can be done. I have a table. i.e. with columns Decsription 1, Cost 1, Description 2, Cost 2 Description 3, Cost 3 description 4, cost 4 etc.

I am looking to try and gave a combo box show this information as follows. I.e

Colum 1 on Combo; Column 2 on Combo

Description 1 Cost 1
Description 2 Cost 2
Description 3 Cost 3
Description 4 Cost 4

I want to be able to auto fill some fields on a form based on the combo box selection.
Has anyone done this before and can it be done.

Thanks

View 1 Replies View Related

Modules & VBA :: Popup Message Box Asking For Password / When Changing File Extension?

Jan 5, 2014

Is there and possiblity to have a pop up message box asking for password when changing file extension from accdr to accdb ?

View 6 Replies View Related

General :: Follow Hyperlink To A File Without Using File Extension?

Sep 6, 2012

Is it possible to follow a hyperlink to a file without using a file extension?

I have links being created based on the name of a file, but because I haven't used a file extension it crashes.

I know I can give the user a choice of what the file extension is and add it to the hyperlink, but it's an extra step, and another place for someone to make a mistake.

I'm potentially using 3 different file types, Word, Excel and PDF's.

The hyperlink works if I just reference a drive/folder, or if I add the file extension.

View 3 Replies View Related

Access 2007 And Access Developer Extension

Nov 29, 2006

Hello friends.

Do you know anything about a new Developer Extension for Access 2007 ?

Thank :) :)

View 1 Replies View Related

Modules & VBA :: Possible To Export Select Records And Fields In Those Records To A Specific Location?

Jun 15, 2013

In an Access 2010 form is it possible to export select records and fields in those records to a specific location?

Code:
Set objDialog = Application.FileDialog(4)
With objDialog
.AllowMultiSelect = False
.Title = "Please select a File"
.InitialFilename = "C:"
.Show
If .SelectedItems.Count = 0 Then
MsgBox ("Action Cancelled")
Else

[code]....

The user can select the directory using the code above, but can specific fields in records be exported to a excel workbook in that selected directory?For example, if the are 5 records in the database can the fields LastName,FirstName,BirthDate in records 1,2,3 be exported to Setup.xlsx in that selected directory?

View 1 Replies View Related

Tables :: Linking Records In One Table To Multiple Records In Another And Assign Percentage?

Nov 21, 2012

I have a table (tbl Team Info) which contains names and codes for teams within my business (>400 records) and another table (tbl Process) which contains a list of high level tasks (30 records).

I need to create something where for each team name 9in tbl Team Info) I can map them to the tasks that they undertake (in tbl Process) and assign a percentage of time then spend on each task. Each team could map to several different tasks.

View 3 Replies View Related

Queries :: Mass Duplicate Main Records And Related Subform Records

May 29, 2014

In my simple database (attached), I need to mass duplicate Tasks and their Notes.

I have three tables: tbTasks (PK: Task_ID), tbNotes (PK: Note_ID), jtbTaskNotes (FKs: Task_ID and Note_ID). jtbTaskNotes is my many-to-many junction table that ties Tasks to Notes.

The main form (fmTasks), bound to tbTasks, has a subform (sbfm_TaskNotes) that displays notes associated with each Task. On themain form,you select which Tasks you want duplicated via a checkbox. The append query (quCopyTasks) will duplicate all tasks that have the checkbox checked. All good there. However, I can't figure out how to also duplicate each task's Notes.

I found Allen Browne's solution [URL] ....., but that only handles duplication of one record at a time, whereas I need to duplicate many records at a time (sometimes 10+ records). How do I go about duplicating multiple Tasks and their associated Notes?

Before you ask "why are you duplicating records?": There are times when tasks need to be re-accomplished and therefore need to have a new record. It's easier to duplicate records than it is to hand-jam everything again.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved