Duane,
here you go :
UPDATE STONE SET STONE.STONE_CODE = Replace([STONE]![STONE_CODE],[Forms]![frmSTONE REPLACE]![STONE],[Forms]![frmSTONE REPLACE]![NEWSTONE]);
or
UPDATE STONE SET STONE.STONE_CODE = Replace([STONE]![STONE_CODE],"be","bb");
both give exactly the same...
Duane,
I have tried it in 2003 and 2002 latest SP's.
I have substituted the links to the forms with hard code e.g I have a field be-001 and I want to replace the be with bb so I have used replace("stone_code","be","bb")
This gives the same error message. Also...
I am trying to use an update query with a field stone_code.
In the update to area I have
replace([stone]![stone_code],[forms]![frmStone Replace]![stone],[forms]![frmStone Replace]![newstone])
so in theory it should be looking at the field stone for whatever is entered in the form frmStone...
Hello,
I have run the upsizing wizard but am not sure on what to now do. I know I have to link the front end to the backend but how do I do that. What files do I link them to/where are they etc. Is it the .mdf and .ldf files?
If anyone knows of a document etc which has all the steps it...
I have just split my database which was working fine.
I am now getting an invalid call error. Does anyone know of what may cause an invalid call. Is i possibly because when I reference my current db it needs to look at the split tables instead now or something like that.
Any assistance...
I have written some code to create a table of contents for a report I have created. I have code in the Detail_Print event so that as you move from the first record to the last record in the report it writes the page number and description to a table. Then I can use this table to show a report...
Hello,
I have a query that selects data between 2 dates. Say the 1st of May and the 30th of May.
The query works fine except that it does not select records for the 30th. If I want to select dates for the 30th I need to push it 1 day ahead.
Is there a way of making the criteria inclusive?
I was wondering if it is possible to change the look of a form that is generated using the pivot table wizard.
I can get the data etc that I want but I want to change the look of it. E.g the fields are all yes/no fields. I would prefer say to have them look like an option box where if it is...
BingeThinker,
you could use the seek command and then reference the field you want and then use the me command to populate the form control.
I use something like this - could be an old way but it works for me :
dim data as database
dim table as recordset
set data = currentdb()
set table as...
Heather,
with the subform option what syntax do I use if the subform is a subform of a subform.
I have it working with the subform but not the one embedded in it. I get a 94 invalid use of null error.
The form frmCalendar is a pop up form that allows me to enter a date easily in the field.
All I am after is the correct syntax for referring to subforms on forms
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.