Hi!
The hyperlink support only controls of type acLabel, acImage, acCommandButton. But it's possible to solve it using label control.
Example.
Create a combobox named "Combo0", and label named "Label0"
Set the folloving Combobox data:
RowSourceType: Value List
RowSource...
Hi!
Here's code for DAO:
dim dbs as database
dim tdf as tabledef
set dbs=currentdb
set tdf=currentdb.tabledefs("MyTableName")
tdf.name="NewNameOfMyTable"
dbs.close
set dbs=nothing
Aivars
Hi!
Your table contains too many fields for normally work with them. It would be good that you would split your huge table.
Seeing that you're beginner you can use wizard: <Menu bar>;<Tools>;<Analyze>;<Table>. Follow wizard's recommendations... Then continue creating of forms.
Aivars
Hi Gerard!
Yor solution seems me too difficult for user. I proffer you other way if you want to allow user to change word places on string.
Create on form an unbound list box (row source type=Value List); two text boxes - the first one related to table field, but other one - unbound; two...
One of ways how to solve your problem is Boolean type variable using. You can confirm this variable value on update.
Dim blnSave As Boolean
Private Sub cmdSave_Click() 'Sub program of <Save button>
blnSave = True
DoCmd.RunCommand acCmdSaveRecord
blnSave = False
End Sub
Private Sub...
Create an unbound frame box on form and add picture by using mouse right button. Of course you may create field (type Ole) for picture saving on your table before. Control source of unbound frame box must be this field.
Aivars
Hi!
You do use wrong options on DoCmd. You try to put filter option on wrong place.
stLinkCriteria ="PropertyId=" & [Me!QueryPropertySubform!PropertyId.Value]
'If type of field PropertyId is Text use delimiter ' on criteria string:
[/color blue]stLinkCriteria...
Hi Gus!
There is sub program, which refreshes links:
Sub RefreshLinks(strNewConnect As String, _
strOldConnect As String, _
Optional prbProgressBar As Control)
'This procedure refreshes linked table connections
'
'strOldConnect - Current connect string
'strNewConnect - connect string...
if not rs.eof then
rs.FindFirst "[ID] = " & Str(Me![cboDescription])
if not rs.nomatch then
Me.Bookmark = rs.Bookmark
else
msgbox "There is not found ..."
end if
else
msgbox "There is not any record..."
end if
Aivars
I really never have meet such problem. I always give expected results of recordsets updating (including MEMO fields).
Try to print field values:
rstTR_History.Edit
debug.print rstTR!actTaken
debug.print rstTR_History!actTaken
rstTR_History!actTaken = rstTR!actTaken
debug.print...
Some times recordset.RecordCount doesn't count the records. It's good if record set is populated before using RecordCount property
rstTR_History.movelast
rstTR_History.movefirst
If rstTR_History.RecordCount > 0 Then
Aivars
Those code you may put in sub program YourCommandButton_Click. This command updates text box txtPhoneNo on form. Accordingly current table field phonenumber (current shown phone No) will be updated if your form record source is set as query based on your table SITEDATA, and Control Cource of...
Sorry, Don! I mistook before during coying your codes:
'Copy memo field SOURCE to DESTINATION
rstTR_History.Edit
rstTR_History!actTaken = rstTR!actTaken
rstTR_History.Update
Aivars
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.