Re: Autonumbers vs Identity Key
- From: "Tom Wickerath MDB" <tom_wickerath@xxxxxxxxxxx>
- Date: Wed, 23 May 2007 20:48:19 -0700
it's not a SQL Server problem
it is an MDB linked table problem if anything
move to SQL Server Access Data Projects and stfu, quit your whining bitch
sorry that it's SOOOOOO COMPLEX
I mean jesus christ
"dguilbault" <dguilbault@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:E928A3F5-52C5-4800-B33C-571A260343A4@xxxxxxxxxxxxxxxx
Ok...here is what i ended up doing.
I have to do a Me.Recalc...this shows the identity key.
Then I had to add a boolean (bF9) as a public variable.
I then had to make bF9 true before doing the recalc, then set it to False
when done.
I then added code to the events that fired on the recalc, exiting the sub if
bF9 was true.
I also had to add code that adds the new record for any foreign table
identity keys.
WHAT A COMPLETE PAIN!!!!! WHO'S BRIGHT IDEA WAS IT TO MAKE SQL SERVER ONLY
ADD THE IDENTITY KEY AFTER THE RECORD SAVE??????? SHEESH
"Tony Toews [MVP]" wrote:
dguilbault <dguilbault@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>Oh if it were only that easy. No...this didn't work.
Please post your code.
Why didn't this work? Did you get an error message?
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
.
- Follow-Ups:
- Re: Autonumbers vs Identity Key
- From: '69 Camaro
- Re: Autonumbers vs Identity Key
- References:
- Re: Autonumbers vs Identity Key
- From: Tony Toews [MVP]
- Re: Autonumbers vs Identity Key
- From: Tony Toews [MVP]
- Re: Autonumbers vs Identity Key
- Prev by Date: Re: Access 2007 conversionn from Access 2000
- Next by Date: Re: new to access
- Previous by thread: Re: Autonumbers vs Identity Key
- Next by thread: Re: Autonumbers vs Identity Key
- Index(es):
Relevant Pages
|