var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Convert form name string to Form?
I don't suppose it's possible?
In the form open event, I want to use
If IsLoaded(Me.Name) then
set db = currentDB
set rst = whichForm.RecordsetClone
Public Function IsLoaded(ByVal form_name As String) As Boolean
Dim frm As Form
IsLoaded = False
For Each frm In Forms
If frm.Name = form_name Then
IsLoaded = True
whichForm = frm.Name would be nice but obviously doesn't work
Any suggestions gratefully received
if whichform is a formvariable you have to write it so:
set whichform = forms(frm.name)
Thanks, I'll try that. I'v also discovered meantime that set rst = Me.recordsetClone works fine.