David I would use a list box instead of a text box to list
the records and a Combo box based on a two record table (open or close)
and in the On after update event of the combobox...requery the listbox(something like " Me!Listname.Requery")...In the listbox have it base on a query...
I am trying to create my own msgbox to Popup and display decreasing numbers: 10 , 9, 8, 7,.....and when it reaches
Zero the Application closes the following is the code I have written so far but, no joy. any help would be apreciated. (timer interval = 1000)not sure if it's right
have not...
OOPS!!! I forgot that you need to create your own custom
"menu" bar and in the start up options in the tools menu
select this new custom menu bar and right click on the toolbars select customize and then deselect the access
pre-built menu bar.
Jim
...position.)
Place the following in the Form_YourSplashformname_OnOpen
event: RemoveCloseButton Me.hwnd
Copy the following into a NEW module:
************************************************************
Option Compare Database
Option Explicit
Public Const MF_BYPOSITION = &H400
Public Const...
I split a db and it work fine for a while had some problems
with the ldb file not releasing, and one table was corruted
so I copied all of it into a new db(named something diff) and rebuilt the corrupted tbl from scratch.Then I split it. it links trys to link to the old back end... I looked at...
Hey Joe!!!
Thank you very much, it's working perfectly, I also
like the added msgbox for "no matches", will let them know
it it's working....I appreciate the time you used to help
me.
Jim
...Date], [90DAYDUPLICATES].ActionNumber, [90DAYDUPLICATES].[Ex-Date], [90DAYDUPLICATES].[Expiration Date], [90DAYDUPLICATES].Status, *
FROM 90DAYDUPLICATES
WHERE ((([90DAYDUPLICATES].AssetID)=[Forms]![frmSprvsr]![txtAssetID]) AND (([90DAYDUPLICATES].[Input Date]) Between Date()-90 And Date()))...
Hey Joe,
I, not being the fastest chip in the computer, didn't know
that was possible.. it would be amore elegant way of
achieving my goal. How would I go about doing that??
If you could steer me in the right direction, I would
appreciated it.
Thanks,
Jim
Hi, I have a form(Popup/modal) that I wish to use more like
a MsgBox. It's based on a Query that takes the Value of a
textbox and searches the records input over the last 90 days
for matches. I presently have this set up as a CmdButton
and it opens properly and displays the matches( if any)...
Hey Braindead2!!!!!
the following code that you recommended(with the two additions in red} worked perfectly!!!
no need to apologize... if any one should, it should be me
for not explaining myself clearly enough!! your code is soo
ooo much more elegant than the maze like mess I came up with...
...AlphaNumeric ID# for selecting which form to open
sRec = List35.Value
sRec = Mid$(sRec, 1, 1)
'Str = "Like" & Chr(34) & sRec & "*" & Chr(34)'for Miners74 suggested method
Select Case sRec 'Select the right form
Case "A"
' ' tells which record should be...
braindead2,
Thank you for responding.
unfortunately sRec only gives the 1st character in an
alphanumeric id number.. ie "G"0001 or "A"01571. but
I like your idea, any way to incorporate it with my 1st
response to Miners74 suggestion? it may be something simple
but being...
...the form, however the record did not display
I have a textbox that contains the following code:
='Record ' & [CurrentRecord] & ' of ' & Count(*)
which shows me the number of the record "out of" the
'filtered(or not)" recordset. when ( after DblClicking on
the record in the...
If you were not able to understand my shorthand:
How to have a record selected from a listbox on one form
open another form displaying the selected record?
I presently have the following code, (in the onDblClick
event of the ListBox)which does open the correct form
properly. ( there are 4...
Hey NickJar2 and Aivars,
Thank you very much for the Quick responses and helpful
replys!!!
NickJar2, your code was perfect down to the .Value !
I finished off the cases and added the error handling and
it's smooth sailing!!
Aivar, That code is extremely useful!!! I have used it
for a Master...
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.