Is there a way to include an Acrobat pdf document into a MS-Word document and keep the pdf format when the Word document is being printed?
Thanks a lot if anybody could help!
Hello!
I created a user event on a datawindow using pbm_dwnkey.
The idea is to test all characters the user enters in order to accelerate the edition. This works fine.
But there is a litle problem: with some combination of actions, suddenly the argument named "keyflags" is set to 1...
you must replace "d" by "dd" or "day", i.e:
SELECT cctr_master,
(case when starttime < shift_starttime then
dateadd(dd,-1, startdate) else
startdate end) from st
where (case when starttime < shift_starttime then
dateadd(dd,-1, startdate) else
startdate...
Is the group number not written in each group separator?
I sometimes use the following trick when I look for something in "tons" of data in a DW:
select the DW in the library and "export".
You then get a text file in which you can analyse some stuf in a much more easy way...
Thank you PowerObject & BetterLateThanNever!
I turned arround both of your solutions. I started a bit like PowerObject's suggestion but tought that would make too much code. And also the script would be too dependent to the control names.
Then I started like suggested by BetterLateThanNever. I...
... that's not complicated!
BUT: How can I construct the checkbox's name at runtime?
I have 640 checkboxes in a Window. They are called chck_1_1 / chck_1_2 / chck_1_3 .... chck_2_1 ... chck_32_20
I would like to read the state of all these checkboxes into a loop:
For i=1 to 32
For j=1 to 20...
Set Cbox = Me.Controls("my_control_box1")
is an excellent idea. Thank you JohnYingling.
I also tried Set Cbox = Me.my_control_box1
works also.
When I call the function
Public Sub load_values(ByRef cbox As ComboBox)
like this
load_values(Cbox)
I get the error: "Object...
Y is affected on execution time means that the value of Y changes when your program executes.
The statement "A = A & Y" will put the value "AY" into the variable "A", no matter if the content of Y changes after the statement...
sorry for the syntax faults, I was a...
Yes, we are on the same frequency! I also tried your last suggestion and that gives exactly the same result.
That what I try to do works with other 4GL environnements.
But it seems that VBA interprets the my_combo_box1 reference to the actual active string value in state of to the object...
Y is affected on execution time!
Try this:
Do While Y <= 606
If Range("1:" & Y) = 0 Then
Range(A & ":Q" & Y).Select
Range("Q" & Y).Activate
Selection.Delete Shift:=xlUp
End If
Range(("1:" & Y).Select
Y = Y + 1
Loop...
Thank you segmentationfault. I tried that too, with no sucess, since 'my_control_box1' is a string for VBA (i.e, on execution time, the debugger does not show me an object for 'my_control_box1' but a string!)
Our local time is 4.20PM. I would be so happy if I could go for the week-end after...
I thought that the following statements were trivial:
Dim cbox As ComboBox
cbox = my_control_box1
'my_control_box1 is a recognized ComboBox in a UserForm
I want to pass the cbox variable to a function declared like this:
Public Function load_values(Acbox As ComboBox)
The problem: in...
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.